<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title></title>
  <style>
    .vaa-home {
      position: absolute;
      z-index: 10000;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      user-select: none;
      color: #409EFF;
      /* background-color: rgb(236, 245, 255); */
      background-color: #fafafa;
    }

    .title {
      font-size: 24px;
      margin-top: 30px;
    }

    .la-line-scale-pulse-out,
    .la-line-scale-pulse-out>div {
      position: relative;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
    }

    .la-line-scale-pulse-out {
      display: block;
      font-size: 0;
      color: #fff;
    }

    .la-line-scale-pulse-out.la-dark {
      color: #333;
    }

    .la-line-scale-pulse-out>div {
      display: inline-block;
      float: none;
      background-color: #409EFF;
      border: 0 solid #409EFF;
    }

    .la-line-scale-pulse-out {
      width: 120px;
      height: 96px;
    }

    .la-line-scale-pulse-out>div {
      width: 12px;
      height: 96px;
      margin: 6px;
      margin-top: 0;
      margin-bottom: 0;
      border-radius: 0;
      -webkit-animation: line-scale-pulse-out .9s infinite cubic-bezier(.85, .25, .37, .85);
      -moz-animation: line-scale-pulse-out .9s infinite cubic-bezier(.85, .25, .37, .85);
      -o-animation: line-scale-pulse-out .9s infinite cubic-bezier(.85, .25, .37, .85);
      animation: line-scale-pulse-out .9409EFFs infinite cubic-bezier(.85, .25, .37, .85);
    }

    .la-line-scale-pulse-out>div:nth-child(3) {
      -webkit-animation-delay: -.9s;
      -moz-animation-delay: -.9s;
      -o-animation-delay: -.9s;
      animation-delay: -.9s;
    }

    .la-line-scale-pulse-out>div:nth-child(2),
    .la-line-scale-pulse-out>div:nth-child(4) {
      -webkit-animation-delay: -.7s;
      -moz-animation-delay: -.7s;
      -o-animation-delay: -.7s;
      animation-delay: -.7s;
    }

    .la-line-scale-pulse-out>div:nth-child(1),
    .la-line-scale-pulse-out>div:nth-child(5) {
      -webkit-animation-delay: -.5s;
      -moz-animation-delay: -.5s;
      -o-animation-delay: -.5s;
      animation-delay: -.5s;
    }

    .la-line-scale-pulse-out.la-sm {
      width: 20px;
      height: 16px;
    }

    .la-line-scale-pulse-out.la-sm>div {
      width: 2px;
      height: 16px;
      margin: 1px;
      margin-top: 0;
      margin-bottom: 0;
    }

    .la-line-scale-pulse-out.la-2x {
      width: 80px;
      height: 64px;
    }

    .la-line-scale-pulse-out.la-2x>div {
      width: 8px;
      height: 64px;
      margin: 4px;
      margin-top: 0;
      margin-bottom: 0;
    }

    .la-line-scale-pulse-out.la-3x {
      width: 120px;
      height: 96px;
    }

    .la-line-scale-pulse-out.la-3x>div {
      width: 12px;
      height: 96px;
      margin: 6px;
      margin-top: 0;
      margin-bottom: 0;
    }

    /*
   * Animation
   */
    @-webkit-keyframes line-scale-pulse-out {
      0% {
        -webkit-transform: scaley(1);
        transform: scaley(1);
      }

      50% {
        -webkit-transform: scaley(.3);
        transform: scaley(.3);
      }

      100% {
        -webkit-transform: scaley(1);
        transform: scaley(1);
      }
    }

    @-moz-keyframes line-scale-pulse-out {
      0% {
        -moz-transform: scaley(1);
        transform: scaley(1);
      }

      50% {
        -moz-transform: scaley(.3);
        transform: scaley(.3);
      }

      100% {
        -moz-transform: scaley(1);
        transform: scaley(1);
      }
    }

    @-o-keyframes line-scale-pulse-out {
      0% {
        -o-transform: scaley(1);
        transform: scaley(1);
      }

      50% {
        -o-transform: scaley(.3);
        transform: scaley(.3);
      }

      100% {
        -o-transform: scaley(1);
        transform: scaley(1);
      }
    }

    @keyframes line-scale-pulse-out {
      0% {
        -webkit-transform: scaley(1);
        -moz-transform: scaley(1);
        -o-transform: scaley(1);
        transform: scaley(1);
      }

      50% {
        -webkit-transform: scaley(.3);
        -moz-transform: scaley(.3);
        -o-transform: scaley(.3);
        transform: scaley(.3);
      }

      100% {
        -webkit-transform: scaley(1);
        -moz-transform: scaley(1);
        -o-transform: scaley(1);
        transform: scaley(1);
      }
    }
  </style>
</head>

<body>
  <div id="app"></div>
  <div class="vaa-home">
    <div class="la-line-scale-pulse-out">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>
  </div>
  <%- injectScript %>
  <script type="module" src="/src/main.ts"></script>
  <script>
    window.onload = function () {
      document.title = _AMapSecurityConfig.VITE_TITLE;
      var vaaHome = document.getElementsByClassName('vaa-home')[0];
      vaaHome.style.display = 'none';
    };
  </script>
</body>

</html>